package main

import "fmt"

func main() {

	var arr1 [5]int
	arr2:=[3]int{1,3,5}
	arr3:=[...]int{2,4,6,8,10}

	var gird [4][5]int
	fmt.Println(arr1)
	fmt.Println(arr2)
	fmt.Println(arr3)


	fmt.Println(gird)

	for _,value:=range arr3{
		fmt.Println(0,value)
	}

	fmt.Println("----------------")
	printArr(arr3[:])
}

func printArr(arr []int){
	arr[0]=100
	for _,value:=range arr{
		fmt.Println(value)
	}

}
